package com.hyfrogx.modules.manage.form.video;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @ClassName ConvertVodFileForm
 * @Description TODO
 * @Author yangjun
 * @date 2019/12/5 10:38
 * @Version 1.0
 **/
@Data
public class ConvertVodFileForm {

    @NotNull(message = "请选择文件fileId")
    private String fileId;

    @NotNull(message = "请选择视频类型")
    @Min(value = 0,message="视频类型错误")
    @Max(value = 3,message="视频类型错误")
    private Integer type;

}
